package com.example.dagger2.di;

import com.example.dagger2.scope.AppScope;

import dagger.Module;
import dagger.Provides;

@Module
public class PresenterModule {

    public String msg;

    public PresenterModule(String msg) {
        this.msg = msg;
    }

    @AppScope
    @Provides
    public Presenter providePresenter() {
        this.msg = "1";
        return new Presenter();
    }
}
